<extend name="Base/base" />
<block name='head'>
    <link rel="stylesheet" href="/Public/Admin/css/personal.css"/>
    <style>
    </style>
</block>
<block name="content" > 
    <section class="layui-larry-box">
        <div class="larry-personal">
            <div class="layui-tab">
                <blockquote class="layui-elem-quote news_search">
                    预览表单
                </blockquote>
                <div class="layui-tab-content larry-personal-body clearfix mylog-info-box">
                    <div class="layui-tab-item layui-field-box layui-show" >
                        <div style="font-size:14px;">
                        {$design_content}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
</block>
<block name="script">
    <script type="text/javascript" src="/Public/Admin/js/flow.js"></script>
    <script type="text/javascript" src="/Public/Admin/js/common.js" ></script>
    <script type="text/javascript">
        $(dateTime(0));
        $(initFlowList());
        $('.delete').on('click', function () {
            var url = $(this).attr('data-url');
            layer.confirm('确定要删除该计划吗?', {
                closeBtn: 0,
                btn: ['确定', '取消'] //按钮
            }, function () {
                $.get(url, function (res) {
                    console.log(res);
                    if (res.status == 1) {
                        layer.msg('删除成功');
                        location.reload();
                    } else {
                        layer.msg('删除失败');
                    }
                })
            })
        })

        $('.search').click(function () {
            $('form').submit();
        })

    </script>    
</block>

